﻿Page( {

    ontz: function () {
        wx.switchTab({
            url: '../index/index',
            success: function (e) {
                var page = getCurrentPages().pop();
                if (page == undefined || page == null) return;
                page.onShow();
            }
        })
    }

    , bindGetUserInfo (e) {
        console.log(e.detail.userInfo);
        wx.switchTab({
            url: '../index/index',
            success: function (e) {
                var page = getCurrentPages().pop();
                if (page == undefined || page == null) return;
                page.onShow();
            }
        })
    }


    }  );